Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the LangGraph Agent that generate critiques #10

Open
wants to merge 10 commits into
base: alpha
Choose a base branch
from

Conversation

dr-salman-ahmad
Copy link

@dr-salman-ahmad dr-salman-ahmad commented Jan 30, 2025

Create the LangGraph Agent that generate critiques.

Integration Guide

I just added two packages, langgraph and youtube-transcript-api in pyproject.toml, so simply run poetry install—no additional steps are required

Example Request

Youtube Video

{
    "file_url": "https://youtube.com/video-where-francis-is-talking",
    "definitions": {
        "context": "The conversation that has happened until now.",
        "query": "The last thing that was said which Francis is responding to.",
        "optimal": "Francis' response."
    }
}

Document like PDF, Docs, Txt

{
    "file_url": "local-path-of-the-document",
    "definitions": {
        "context": "The conversation that has happened until now.",
        "query": "The last thing that was said which Francis is responding to.",
        "optimal": "Francis' response."
    }
}

Example Response

[
  {
    "context": "<Karl Jones - Meeting Lead>Lovely to meet you, John. To ensure we work effectively together, do you prefer to tackle single questions at a time or are you comfortable with addressing multiple questions at once?</Karl Jones - Meeting Lead><John>I would prefer single one, so i can keep focused</John><Elyn Ryan - VPD - Market Research Analyst>Hello! I'm Elyn, a market research analyst. Really looking forward to working with you today. A bit about what you can expect from me, I will provide detailed, data-driven insights into market trends, customer behavior, and competitive landscapes. My goal is to help you identify actionable market opportunities and potential risks related to your customer segments and value propositions.</Elyn Ryan - VPD - Market Research Analyst>",
    "query": "<Martin Bridge - Marketing Specialist>Hi John, I'm Martin Bridge, a marketing specialist. My focus is on helping businesses articulate their unique value and connect deeply with their target audiences. Looking forward to collaborating with you!</Martin Bridge - Marketing Specialist>",
    "optimal": "Hi John, I'm Francis Bryne, the Innovation Catalyst for this workshop. My role is to encourage creative thinking and present new approaches to help refine your value proposition. Looking forward to working with you!",
    "situation": "Team meeting with market research and marketing professionals"
  },
  {"..."}
]

Swagger UI And Endpoint

image

@JalilUmar
Copy link
Contributor

LGTM , good work @dr-salman-ahmad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants